//package com.waste.game.controller;
//
//import com.github.pagehelper.PageInfo;
//import com.waste.game.entity.GameListBean;
//import com.waste.game.service.GameListService;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.web.bind.annotation.*;
//
//@Slf4j
//@RestController
//@RequestMapping("/pcgame")
//public class PcGameController {
//
//    @Autowired
//    GameListService gameListService;
//
//    @PostMapping("/{id}")
//    public PageInfo<GameListBean> showPcGame(@PathVariable(value = "id") Integer id){
////        PageInfo<GameListBean> pageInfo = gameListService.getIndexGamePage(id ,9);
////        model.addAttribute("pageInfo",pageInfo);
//        return gameListService.getPcGamePage(id ,9);
//    }
//}
